import React from 'react'
import Taro, { useDidShow } from '@tarojs/taro'
import { View } from '@tarojs/components'
import { Observer, useLocalStore } from 'mobx-react'
import { cartModel } from '@/model/CartModel'

import './index.scss'

export default () => {

  const store = useLocalStore(() => cartModel)
  useDidShow(() => {
    store.getConfig();
  })

  return (
    <Observer>
      {
        () =>
          <View className="xxm-about">
            <View className="xxm-about__content">
              {store.shopDetail.about}
            </View>
          </View>
      }
    </Observer>
  )
}
